package com.lulu.lulurpc.fault.tolerant;

import com.lulu.lulurpc.model.RpcResponse;

import java.util.Map;

/**
 * @author wlc
 * @version 1.0
 */
public class FailFastTolerantStrategy implements TolerantStrategy{
    @Override
    public RpcResponse doTolerant(Map<String, Object> context, Exception e) {
        throw new RuntimeException("服务报错", e);
    }
}
